package com.ny.entity;


public class Classrooms {

    private int classroomId;
    private String classroomName;
    private String building;
    private String description;
    private int capacity;
    private String status;

    // 无参构造函数
    public Classrooms() {
    }

    // 带参构造函数
    public Classrooms(String classroomName, String building, String description, int capacity, String status) {
        this.classroomName = classroomName;
        this.building = building;
        this.description = description;
        this.capacity = capacity;
        this.status = status;
    }

    // Getter 和 Setter 方法
    public int getClassroomId() {
        return classroomId;
    }

    public void setClassroomId(int classroomId) {
        this.classroomId = classroomId;
    }

    public String getClassroomName() {
        return classroomName;
    }

    public void setClassroomName(String classroomName) {
        this.classroomName = classroomName;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ClassRoom{" +
                "classroomId=" + classroomId +
                ", classroomName='" + classroomName + '\'' +
                ", building='" + building + '\'' +
                ", description='" + description + '\'' +
                ", capacity=" + capacity +
                ", status='" + status + '\'' +
                '}';
    }
}